package parser;
import java.util.*;
import java.io.*; 
import antlr.RecognitionException;

public class TerminalScope extends Scope {
    
    TerminalScope() {
    }
      
    Expr name(int name) {
        return new Global(name);
    }
    
    Stmt discard(final Expr e) {
        return new Stmt() {
            void write(ByteStream out) throws RecognitionException {
                e.write(out);
                // Leave on stack
            }
        };
    }

    void global(int name) {
        // Ignore.
    }
             
}
